class Hero():#父类
    def __init__(self, title, name, job, atk, story):
        self.title = title
        self.name = name
        self.job = job
        self.atk = atk
        self.story = story

    def beidong(self):
        print('被动')

    def jineng1(self):
        print('1技能')

    def jineng2(self):
        print('2技能')

    def jineng3(self):
        print('3技能')

    def jineng4(self):
        print('4技能')


class Libai(Hero):#子类
    pass
    # def beidong(self):
    #     print('普攻积累剑气')

    # def jineng1(self):
    #     print('指定方向突进2次')
    
    # def jineng2(self):
    #     print('青莲剑阵')
    
    # def jineng3(self):
    #     print('飞速斩击5次')

li = Libai('青莲剑仙','李白','刺客','1','qwer')
li.beidong()


